Optimal. Leaf size=143 \[ \frac {(b d-a e)^5 (a+b x)^7}{7 b^6}+\frac {5 e (b d-a e)^4 (a+b x)^8}{8 b^6}+\frac {10 e^2 (b d-a e)^3 (a+b x)^9}{9 b^6}+\frac {e^3 (b d-a e)^2 (a+b x)^{10}}{b^6}+\frac {5 e^4 (b d-a e) (a+b x)^{11}}{11 b^6}+\frac {e^5 (a+b x)^{12}}{12 b^6} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.22, antiderivative size = 143, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {27, 45}
\begin {gather*} \frac {5 e^4 (a+b x)^{11} (b d-a e)}{11 b^6}+\frac {e^3 (a+b x)^{10} (b d-a e)^2}{b^6}+\frac {10 e^2 (a+b x)^9 (b d-a e)^3}{9 b^6}+\frac {5 e (a+b x)^8 (b d-a e)^4}{8 b^6}+\frac {(a+b x)^7 (b d-a e)^5}{7 b^6}+\frac {e^5 (a+b x)^{12}}{12 b^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 45
Rubi steps
\begin {align*} \int (d+e x)^5 \left (a^2+2 a b x+b^2 x^2\right )^3 \, dx &=\int (a+b x)^6 (d+e x)^5 \, dx\\ &=\int \left (\frac {(b d-a e)^5 (a+b x)^6}{b^5}+\frac {5 e (b d-a e)^4 (a+b x)^7}{b^5}+\frac {10 e^2 (b d-a e)^3 (a+b x)^8}{b^5}+\frac {10 e^3 (b d-a e)^2 (a+b x)^9}{b^5}+\frac {5 e^4 (b d-a e) (a+b x)^{10}}{b^5}+\frac {e^5 (a+b x)^{11}}{b^5}\right ) \, dx\\ &=\frac {(b d-a e)^5 (a+b x)^7}{7 b^6}+\frac {5 e (b d-a e)^4 (a+b x)^8}{8 b^6}+\frac {10 e^2 (b d-a e)^3 (a+b x)^9}{9 b^6}+\frac {e^3 (b d-a e)^2 (a+b x)^{10}}{b^6}+\frac {5 e^4 (b d-a e) (a+b x)^{11}}{11 b^6}+\frac {e^5 (a+b x)^{12}}{12 b^6}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(501\) vs. \(2(143)=286\).
time = 0.05, size = 501, normalized size = 3.50 \begin {gather*} a^6 d^5 x+\frac {1}{2} a^5 d^4 (6 b d+5 a e) x^2+\frac {5}{3} a^4 d^3 \left (3 b^2 d^2+6 a b d e+2 a^2 e^2\right ) x^3+\frac {5}{4} a^3 d^2 \left (4 b^3 d^3+15 a b^2 d^2 e+12 a^2 b d e^2+2 a^3 e^3\right ) x^4+a^2 d \left (3 b^4 d^4+20 a b^3 d^3 e+30 a^2 b^2 d^2 e^2+12 a^3 b d e^3+a^4 e^4\right ) x^5+\frac {1}{6} a \left (6 b^5 d^5+75 a b^4 d^4 e+200 a^2 b^3 d^3 e^2+150 a^3 b^2 d^2 e^3+30 a^4 b d e^4+a^5 e^5\right ) x^6+\frac {1}{7} b \left (b^5 d^5+30 a b^4 d^4 e+150 a^2 b^3 d^3 e^2+200 a^3 b^2 d^2 e^3+75 a^4 b d e^4+6 a^5 e^5\right ) x^7+\frac {5}{8} b^2 e \left (b^4 d^4+12 a b^3 d^3 e+30 a^2 b^2 d^2 e^2+20 a^3 b d e^3+3 a^4 e^4\right ) x^8+\frac {5}{9} b^3 e^2 \left (2 b^3 d^3+12 a b^2 d^2 e+15 a^2 b d e^2+4 a^3 e^3\right ) x^9+\frac {1}{2} b^4 e^3 \left (2 b^2 d^2+6 a b d e+3 a^2 e^2\right ) x^{10}+\frac {1}{11} b^5 e^4 (5 b d+6 a e) x^{11}+\frac {1}{12} b^6 e^5 x^{12} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(520\) vs.
\(2(133)=266\).
time = 0.72, size = 521, normalized size = 3.64 Too large to display
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 496 vs.
\(2 (135) = 270\).
time = 0.29, size = 496, normalized size = 3.47 \begin {gather*} \frac {1}{12} \, b^{6} x^{12} e^{5} + a^{6} d^{5} x + \frac {1}{11} \, {\left (5 \, b^{6} d e^{4} + 6 \, a b^{5} e^{5}\right )} x^{11} + \frac {1}{2} \, {\left (2 \, b^{6} d^{2} e^{3} + 6 \, a b^{5} d e^{4} + 3 \, a^{2} b^{4} e^{5}\right )} x^{10} + \frac {5}{9} \, {\left (2 \, b^{6} d^{3} e^{2} + 12 \, a b^{5} d^{2} e^{3} + 15 \, a^{2} b^{4} d e^{4} + 4 \, a^{3} b^{3} e^{5}\right )} x^{9} + \frac {5}{8} \, {\left (b^{6} d^{4} e + 12 \, a b^{5} d^{3} e^{2} + 30 \, a^{2} b^{4} d^{2} e^{3} + 20 \, a^{3} b^{3} d e^{4} + 3 \, a^{4} b^{2} e^{5}\right )} x^{8} + \frac {1}{7} \, {\left (b^{6} d^{5} + 30 \, a b^{5} d^{4} e + 150 \, a^{2} b^{4} d^{3} e^{2} + 200 \, a^{3} b^{3} d^{2} e^{3} + 75 \, a^{4} b^{2} d e^{4} + 6 \, a^{5} b e^{5}\right )} x^{7} + \frac {1}{6} \, {\left (6 \, a b^{5} d^{5} + 75 \, a^{2} b^{4} d^{4} e + 200 \, a^{3} b^{3} d^{3} e^{2} + 150 \, a^{4} b^{2} d^{2} e^{3} + 30 \, a^{5} b d e^{4} + a^{6} e^{5}\right )} x^{6} + {\left (3 \, a^{2} b^{4} d^{5} + 20 \, a^{3} b^{3} d^{4} e + 30 \, a^{4} b^{2} d^{3} e^{2} + 12 \, a^{5} b d^{2} e^{3} + a^{6} d e^{4}\right )} x^{5} + \frac {5}{4} \, {\left (4 \, a^{3} b^{3} d^{5} + 15 \, a^{4} b^{2} d^{4} e + 12 \, a^{5} b d^{3} e^{2} + 2 \, a^{6} d^{2} e^{3}\right )} x^{4} + \frac {5}{3} \, {\left (3 \, a^{4} b^{2} d^{5} + 6 \, a^{5} b d^{4} e + 2 \, a^{6} d^{3} e^{2}\right )} x^{3} + \frac {1}{2} \, {\left (6 \, a^{5} b d^{5} + 5 \, a^{6} d^{4} e\right )} x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 515 vs.
\(2 (135) = 270\).
time = 2.46, size = 515, normalized size = 3.60 \begin {gather*} \frac {1}{7} \, b^{6} d^{5} x^{7} + a b^{5} d^{5} x^{6} + 3 \, a^{2} b^{4} d^{5} x^{5} + 5 \, a^{3} b^{3} d^{5} x^{4} + 5 \, a^{4} b^{2} d^{5} x^{3} + 3 \, a^{5} b d^{5} x^{2} + a^{6} d^{5} x + \frac {1}{5544} \, {\left (462 \, b^{6} x^{12} + 3024 \, a b^{5} x^{11} + 8316 \, a^{2} b^{4} x^{10} + 12320 \, a^{3} b^{3} x^{9} + 10395 \, a^{4} b^{2} x^{8} + 4752 \, a^{5} b x^{7} + 924 \, a^{6} x^{6}\right )} e^{5} + \frac {1}{462} \, {\left (210 \, b^{6} d x^{11} + 1386 \, a b^{5} d x^{10} + 3850 \, a^{2} b^{4} d x^{9} + 5775 \, a^{3} b^{3} d x^{8} + 4950 \, a^{4} b^{2} d x^{7} + 2310 \, a^{5} b d x^{6} + 462 \, a^{6} d x^{5}\right )} e^{4} + \frac {1}{84} \, {\left (84 \, b^{6} d^{2} x^{10} + 560 \, a b^{5} d^{2} x^{9} + 1575 \, a^{2} b^{4} d^{2} x^{8} + 2400 \, a^{3} b^{3} d^{2} x^{7} + 2100 \, a^{4} b^{2} d^{2} x^{6} + 1008 \, a^{5} b d^{2} x^{5} + 210 \, a^{6} d^{2} x^{4}\right )} e^{3} + \frac {5}{126} \, {\left (28 \, b^{6} d^{3} x^{9} + 189 \, a b^{5} d^{3} x^{8} + 540 \, a^{2} b^{4} d^{3} x^{7} + 840 \, a^{3} b^{3} d^{3} x^{6} + 756 \, a^{4} b^{2} d^{3} x^{5} + 378 \, a^{5} b d^{3} x^{4} + 84 \, a^{6} d^{3} x^{3}\right )} e^{2} + \frac {5}{56} \, {\left (7 \, b^{6} d^{4} x^{8} + 48 \, a b^{5} d^{4} x^{7} + 140 \, a^{2} b^{4} d^{4} x^{6} + 224 \, a^{3} b^{3} d^{4} x^{5} + 210 \, a^{4} b^{2} d^{4} x^{4} + 112 \, a^{5} b d^{4} x^{3} + 28 \, a^{6} d^{4} x^{2}\right )} e \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 580 vs.
\(2 (129) = 258\).
time = 0.05, size = 580, normalized size = 4.06 \begin {gather*} a^{6} d^{5} x + \frac {b^{6} e^{5} x^{12}}{12} + x^{11} \cdot \left (\frac {6 a b^{5} e^{5}}{11} + \frac {5 b^{6} d e^{4}}{11}\right ) + x^{10} \cdot \left (\frac {3 a^{2} b^{4} e^{5}}{2} + 3 a b^{5} d e^{4} + b^{6} d^{2} e^{3}\right ) + x^{9} \cdot \left (\frac {20 a^{3} b^{3} e^{5}}{9} + \frac {25 a^{2} b^{4} d e^{4}}{3} + \frac {20 a b^{5} d^{2} e^{3}}{3} + \frac {10 b^{6} d^{3} e^{2}}{9}\right ) + x^{8} \cdot \left (\frac {15 a^{4} b^{2} e^{5}}{8} + \frac {25 a^{3} b^{3} d e^{4}}{2} + \frac {75 a^{2} b^{4} d^{2} e^{3}}{4} + \frac {15 a b^{5} d^{3} e^{2}}{2} + \frac {5 b^{6} d^{4} e}{8}\right ) + x^{7} \cdot \left (\frac {6 a^{5} b e^{5}}{7} + \frac {75 a^{4} b^{2} d e^{4}}{7} + \frac {200 a^{3} b^{3} d^{2} e^{3}}{7} + \frac {150 a^{2} b^{4} d^{3} e^{2}}{7} + \frac {30 a b^{5} d^{4} e}{7} + \frac {b^{6} d^{5}}{7}\right ) + x^{6} \left (\frac {a^{6} e^{5}}{6} + 5 a^{5} b d e^{4} + 25 a^{4} b^{2} d^{2} e^{3} + \frac {100 a^{3} b^{3} d^{3} e^{2}}{3} + \frac {25 a^{2} b^{4} d^{4} e}{2} + a b^{5} d^{5}\right ) + x^{5} \left (a^{6} d e^{4} + 12 a^{5} b d^{2} e^{3} + 30 a^{4} b^{2} d^{3} e^{2} + 20 a^{3} b^{3} d^{4} e + 3 a^{2} b^{4} d^{5}\right ) + x^{4} \cdot \left (\frac {5 a^{6} d^{2} e^{3}}{2} + 15 a^{5} b d^{3} e^{2} + \frac {75 a^{4} b^{2} d^{4} e}{4} + 5 a^{3} b^{3} d^{5}\right ) + x^{3} \cdot \left (\frac {10 a^{6} d^{3} e^{2}}{3} + 10 a^{5} b d^{4} e + 5 a^{4} b^{2} d^{5}\right ) + x^{2} \cdot \left (\frac {5 a^{6} d^{4} e}{2} + 3 a^{5} b d^{5}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 558 vs.
\(2 (135) = 270\).
time = 1.72, size = 558, normalized size = 3.90 \begin {gather*} \frac {1}{12} \, b^{6} x^{12} e^{5} + \frac {5}{11} \, b^{6} d x^{11} e^{4} + b^{6} d^{2} x^{10} e^{3} + \frac {10}{9} \, b^{6} d^{3} x^{9} e^{2} + \frac {5}{8} \, b^{6} d^{4} x^{8} e + \frac {1}{7} \, b^{6} d^{5} x^{7} + \frac {6}{11} \, a b^{5} x^{11} e^{5} + 3 \, a b^{5} d x^{10} e^{4} + \frac {20}{3} \, a b^{5} d^{2} x^{9} e^{3} + \frac {15}{2} \, a b^{5} d^{3} x^{8} e^{2} + \frac {30}{7} \, a b^{5} d^{4} x^{7} e + a b^{5} d^{5} x^{6} + \frac {3}{2} \, a^{2} b^{4} x^{10} e^{5} + \frac {25}{3} \, a^{2} b^{4} d x^{9} e^{4} + \frac {75}{4} \, a^{2} b^{4} d^{2} x^{8} e^{3} + \frac {150}{7} \, a^{2} b^{4} d^{3} x^{7} e^{2} + \frac {25}{2} \, a^{2} b^{4} d^{4} x^{6} e + 3 \, a^{2} b^{4} d^{5} x^{5} + \frac {20}{9} \, a^{3} b^{3} x^{9} e^{5} + \frac {25}{2} \, a^{3} b^{3} d x^{8} e^{4} + \frac {200}{7} \, a^{3} b^{3} d^{2} x^{7} e^{3} + \frac {100}{3} \, a^{3} b^{3} d^{3} x^{6} e^{2} + 20 \, a^{3} b^{3} d^{4} x^{5} e + 5 \, a^{3} b^{3} d^{5} x^{4} + \frac {15}{8} \, a^{4} b^{2} x^{8} e^{5} + \frac {75}{7} \, a^{4} b^{2} d x^{7} e^{4} + 25 \, a^{4} b^{2} d^{2} x^{6} e^{3} + 30 \, a^{4} b^{2} d^{3} x^{5} e^{2} + \frac {75}{4} \, a^{4} b^{2} d^{4} x^{4} e + 5 \, a^{4} b^{2} d^{5} x^{3} + \frac {6}{7} \, a^{5} b x^{7} e^{5} + 5 \, a^{5} b d x^{6} e^{4} + 12 \, a^{5} b d^{2} x^{5} e^{3} + 15 \, a^{5} b d^{3} x^{4} e^{2} + 10 \, a^{5} b d^{4} x^{3} e + 3 \, a^{5} b d^{5} x^{2} + \frac {1}{6} \, a^{6} x^{6} e^{5} + a^{6} d x^{5} e^{4} + \frac {5}{2} \, a^{6} d^{2} x^{4} e^{3} + \frac {10}{3} \, a^{6} d^{3} x^{3} e^{2} + \frac {5}{2} \, a^{6} d^{4} x^{2} e + a^{6} d^{5} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.19, size = 492, normalized size = 3.44 \begin {gather*} x^5\,\left (a^6\,d\,e^4+12\,a^5\,b\,d^2\,e^3+30\,a^4\,b^2\,d^3\,e^2+20\,a^3\,b^3\,d^4\,e+3\,a^2\,b^4\,d^5\right )+x^8\,\left (\frac {15\,a^4\,b^2\,e^5}{8}+\frac {25\,a^3\,b^3\,d\,e^4}{2}+\frac {75\,a^2\,b^4\,d^2\,e^3}{4}+\frac {15\,a\,b^5\,d^3\,e^2}{2}+\frac {5\,b^6\,d^4\,e}{8}\right )+x^6\,\left (\frac {a^6\,e^5}{6}+5\,a^5\,b\,d\,e^4+25\,a^4\,b^2\,d^2\,e^3+\frac {100\,a^3\,b^3\,d^3\,e^2}{3}+\frac {25\,a^2\,b^4\,d^4\,e}{2}+a\,b^5\,d^5\right )+x^7\,\left (\frac {6\,a^5\,b\,e^5}{7}+\frac {75\,a^4\,b^2\,d\,e^4}{7}+\frac {200\,a^3\,b^3\,d^2\,e^3}{7}+\frac {150\,a^2\,b^4\,d^3\,e^2}{7}+\frac {30\,a\,b^5\,d^4\,e}{7}+\frac {b^6\,d^5}{7}\right )+a^6\,d^5\,x+\frac {b^6\,e^5\,x^{12}}{12}+\frac {5\,a^3\,d^2\,x^4\,\left (2\,a^3\,e^3+12\,a^2\,b\,d\,e^2+15\,a\,b^2\,d^2\,e+4\,b^3\,d^3\right )}{4}+\frac {5\,b^3\,e^2\,x^9\,\left (4\,a^3\,e^3+15\,a^2\,b\,d\,e^2+12\,a\,b^2\,d^2\,e+2\,b^3\,d^3\right )}{9}+\frac {a^5\,d^4\,x^2\,\left (5\,a\,e+6\,b\,d\right )}{2}+\frac {b^5\,e^4\,x^{11}\,\left (6\,a\,e+5\,b\,d\right )}{11}+\frac {5\,a^4\,d^3\,x^3\,\left (2\,a^2\,e^2+6\,a\,b\,d\,e+3\,b^2\,d^2\right )}{3}+\frac {b^4\,e^3\,x^{10}\,\left (3\,a^2\,e^2+6\,a\,b\,d\,e+2\,b^2\,d^2\right )}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________